﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MetalSoda
{
    /// <summary>
    /// 
    /// </summary>
    [Serializable]
    public sealed class MetalSodaException : InvalidOperationException
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="message"></param>
        internal MetalSodaException(string message) : base(message) { }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="message"></param>
        internal MetalSodaException(StringBuilder message) : this(message.ToString()) { }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="message"></param>
        /// <param name="innerException"></param>
        internal MetalSodaException(string message, Exception innerException) : base(message,innerException) { }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="message"></param>
        /// <param name="innerException"></param>
        internal MetalSodaException(StringBuilder message, Exception innerException) : this(message.ToString(), innerException) { }
    }
}
